package com.rf.richfitwheel.admin.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 参数
 */
@FeignClient(name="RICHFITWHEEL-ADMIN-SERVER/sys/config")
public interface FConfigService {

    /**
     * 根据参数key获取参数值，给外部调用，没有找到返回null
     *
     * @param paramKey 参数编码
     * @return 参数值
     */
    @GetMapping("/getParamVlueByKey/{paramKey}")
    public String getParamVlueByKey(@PathVariable("paramKey") String paramKey);
}
